package io.shallwe.common.model.base;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
 * 工位定义
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseLogLocation<M extends BaseLogLocation<M>> extends Model<M> implements IBean {

	public M setId(java.lang.Integer id) {
		set("id", id);
		return (M)this;
	}
	
	public java.lang.Integer getId() {
		return getInt("id");
	}

	/**
	 * 工位名称
	 * @param remark
	 * @return
	 */
	public M setRemark(java.lang.String remark) {
		set("remark", remark);
		return (M)this;
	}

	/**
	 * 工位名称
	 * @return
	 */
	public java.lang.String getRemark() {
		return getStr("remark");
	}

	/**
	 * 工位编码
	 * @param locationCode
	 * @return
	 */
	public M setLocationCode(java.lang.String locationCode) {
		set("location_code", locationCode);
		return (M)this;
	}

	/**
	 * 工位编码
	 * @return
	 */
	public java.lang.String getLocationCode() {
		return getStr("location_code");
	}

}
